package cn.ulc.store.dao;
import cn.ulc.common.constant.enums.AvailableStatus;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import cn.ulc.store.entity.Activity;
import cn.ulc.store.entity.*;


/*
* Activity
* gen by Jin mapper 2019-06-16
*/
@SqlResource("activity")
public interface ActivityDao extends BaseDao<Activity> {

    PageQuery<Activity> findListPage(PageQuery pageQuery);

    Activity findByCode(Long companyId, String code, AvailableStatus status);

    Activity findByCheckCode(Long companyId, String code);

}
